Role-Based Prompts
Role-based prompts assign a specific role or perspective to the AI, guiding it to respond as if it were a particular person, expert, or character.
Key Characteristics
- Specify a role, profession, or persona
- Tailor responses to the role's expertise or viewpoint
- Useful for simulations, training, or scenario planning
When to Use
- For expert advice, customer support, or creative writing
- When simulating interviews or role-play scenarios
Example Prompts
- "Answer as a cybersecurity expert: How can I protect my data?"
- "Pretend you are a travel agent. Plan a trip to Italy."
Example Result
As a cybersecurity expert, I recommend using strong passwords, enabling two-factor authentication, and regularly updating your software to protect your data.
Best Practices
- Clearly state the desired role in the prompt
- Ask for responses consistent with the role's knowledge and style
- Use for both professional and creative scenarios